package com.framework.mybatis.enums;

import com.framework.common.enums.IEnum;
import lombok.AllArgsConstructor;

/**
 * @author lihanbo
 * @version 1.0
 * @date 2022/3/29 14:15
 */
@AllArgsConstructor
public enum PermissionTypeEnum implements IEnum {

    //设备状态
    user("0", "当前用户"),
    userList("1", "当前用户下所管理的用户列表"),
    deptAndUser("2", "部门权限和当前用户"),
    dept("3", "部门权限");

    private String val;
    private String name;

    @Override
    public String getVal() {
        return val;
    }

    @Override
    public String getName() {
        return name;
    }
}
